import request from '@/utils/request';

export function getAllClue(current, limit, query) {
  const query2 = {};
  Object.assign(query2, query);
  return request({
    url: `/api-clue/confirm/ConfirmControllerAPI?current=${current}&limit=${limit}`,
    method: 'post',
    data: query2
  });
}

export function getYearAndGradeAndSort() {
  return request({
    url: '/api-clue/other/getOthers',
    method: 'get'
  });
}

export function commitClue(params) {
  return request({
    url: '/api-clue/confirm/ConfirmcommitCol',
    method: 'post',
    data: params
  });
}
